//
//  RZMessage.h
//  RZIM
//
//  Created by reyzhang on 2021/7/26.
//  socket 消息模型

#import <Foundation/Foundation.h>
#import "RZIMDefine.h"
#import "RZMessageContent.h"
#import "RZUserInfo.h"
#import "RZMessageContent.h"


NS_ASSUME_NONNULL_BEGIN

@interface RZMessage : NSObject

/**
 群组id
 */
@property (nonatomic, strong) NSString *gid;

/**
 发送人用户id
 */
@property (nonatomic, strong) NSString *uid;


/**
 接收人用户id
 */
@property (nonatomic, strong) NSString *tid;


/**
 消息来自哪个用户
 */
@property (nonatomic, strong) RZUserInfo *fromUser;


/**
 消息接收用户
 */
@property (nonatomic, strong) RZUserInfo *tarUser;



/**
 消息主体
 */
@property (nonatomic, strong) RZMessageContent *message;

@end

NS_ASSUME_NONNULL_END
